package com.seari.service.impl;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.seari.dao.DaoSupport;
import com.seari.service.DkfyService;
import com.seari.util.IData;

@Service()
public class DkfyServiceImpl implements DkfyService{

	@Resource(name = "daoSupport")
	private DaoSupport dao;

	@SuppressWarnings("unchecked")
	@Override
	public List<IData> fyOverallExplain(IData pd) throws Exception {
		// TODO Auto-generated method stub
		return (List<IData>) dao.findForList("DkfyMapper.feol", pd);
	}
	@SuppressWarnings("unchecked")
	@Override
	public List<IData> fyHealthStatistics(IData pd) throws Exception {
		// TODO Auto-generated method stub
		return (List<IData>) dao.findForList("DkfyMapper.fyhs", pd);
	}
	@SuppressWarnings("unchecked")
	@Override
	public List<IData> fecthRadarChartData(IData pd) throws Exception {
		return (List<IData>) dao.findForList("DkfyMapper.radarChart", pd);
	}
	@SuppressWarnings("unchecked")
	@Override
	public List<IData> fyWorkTrend(IData pd) throws Exception {
		// TODO Auto-generated method stub
		return (List<IData>) dao.findForList("DkfyMapper.fywt", pd);
	}
	@SuppressWarnings("unchecked")
	@Override
	public List<IData> fyStaffClockingIn(IData pd) throws Exception {
		// TODO Auto-generated method stub
		return (List<IData>) dao.findForList("DkfyMapper.fsci", pd);
	}
	@SuppressWarnings("unchecked")
	@Override
	public List<IData> fyMapDistribution(IData pd) throws Exception {
		// TODO Auto-generated method stub
		return (List<IData>) dao.findForList("DkfyMapper.fmdb", pd);
	}




}
